<template>
	<view >
		<view class="wrap">
			<div class="wenzi">
				<div class="anniu">
					<div class="anniu1">
					</div>
					<div class="anniu2">
						<u-button type="default" size="mini" @click="xzc()">选择仓库</u-button> 
					</div>
				</div>
				
				<div class="wenzi1">
					<div class="wenzi1_1">
					</div>
					<div class="wenzi1_2">
						<div class="wenzi1_2_1">
							<span class="wenzi1_2_1_span" v-text="jjdz"></span>
						</div>
						<div class="wenzi1_2_2">
						</div>
					</div>
				</div>
				
			
				<div class="wenzi2">
					<div class="wenzi2_1">
						<span class="wenzi2_span" v-text="ycbm"></span>
					</div>
				</div>
			</div>
			<!-- <u-image width="100%" height="770px" :src="imgs" class="img1"></u-image> -->
			<!-- <p>
				<span class='span1'>
					好想来零食温馨提醒<br>
				</span>
			</p>
			<span class='span2'>
				1、到仓前半个小时告知调度员、车队长;<br>
				2、装车时司机需做好监督装车标准为(大不压小重不压轻) 如有异常请联系调度员、车队长;<br>
				3、装、卸车时需进行拍照上传至运满满平台确保能够正常支付运费;<br>
				4、发车时请提前联系收货方做好预约礼貌友好沟通;<br>
				5、途中遇有堵车、故障、极端恶劣天气时需电话告知调度员、车队长做好时效异常报备;<br>
				6、18: 30-21:00 为门店销售高峰期不得强制要求卸货;<br>
				7、回单签收时字迹要清晰;<br>
				8、派送结束后请立即将回单、卸货照片上传运满满平台;<br>
				9、卸货结束后 24 小时内请将纸质回单邮寄并将快递单号告知调度员:各位司机师傅如果任何问题请及时电话告知调度员、车队长，未按要求告知情况下一切问题由司机师傅自行承担!司时诚挚邀请您加入好想来车队联系电话: 14792997516 调度员、17368626511 调度员
			</span> -->
		</view>
		<view>
			<u-select v-model="show" :list="wlist" @confirm="confirm"></u-select>
		</view>
		<view>
			<u-toast ref="uToast" />
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				jjdz:'2.邮寄地址：山东省德州市齐河县安博物流园1号库，收件人为周鹏，电话：18615235536',
				ycbm:'在您运输过程中，出现异常/不满，请及时与周鹏联系，联系电话18615235536',
				list: [
					{
						id:1,
						warehouse_name:'齐河仓',
						warehouse_address:'山东省德州市齐河县安博物流园1号库',
						warehouse_contacts:'周鹏',
						tel:'18615235536',
						buman_contacts:'周鹏',
						buman_tel:'18615235536'
					}, 
					{
						id:2,
						warehouse_name:'沈阳仓',
						warehouse_address:'辽宁省沈阳市铁西区大青中朝友谊街道开发北二路10号普洛斯沈阳沈西工业物流园A4仓库3单元',
						warehouse_contacts:'丛新宇',
						tel:'19805417305',
						buman_contacts:'丛新宇',
						buman_tel:'19805417305'
					},
					{
						id:3,
						warehouse_name:'亳州仓',
						warehouse_address:'安徽省毫州市谯城区毫州韵煌电子商务有限公司',
						warehouse_contacts:'陈晓利',
						tel:'13754817343',
						buman_contacts:'陈晓利',
						buman_tel:'13754817343'
					},
					{
						id:4,
						warehouse_name:'潍坊仓',
						warehouse_address:'山东省潍坊市潍城区殷大路与北宫西街交叉口西300 米路南潍坊丰树现代产业园',
						warehouse_contacts:'陈令',
						tel:'15064645686',
						buman_contacts:'陈令',
						buman_tel:'15064645686'
					}
				],
				show:false,
				wlist:[
					{
						value:"1",
						label:"齐河仓"
					},
					{
						value:"2",
						label:"沈阳仓"
					},
					{
						value:"3",
						label:"亳州仓"
					},
					{
						value:"4",
						label:"潍坊仓"
					}
				]
			}
		},
		methods: {
			xzc(){
				this.show = true
			},
			confirm(e){
				for(let item1 of this.list) {
					if(item1.id == e[0].value){
						this.jjdz = '2.邮寄地址：'+item1.warehouse_address+'，收件人为'+item1.warehouse_contacts+'，电话：'+item1.tel
						this.ycbm = '在您运输过程中，出现异常/不满，请及时与'+item1.buman_contacts+'联系，联系电话'+item1.buman_tel
						break;
					}
				}
			}
		}
	}
</script>

<style lang="scss">
	.wrap {
		// padding: 30rpx 30rpx;
	}
	p{
		text-align: center;
	}
	.span1{
		padding: 10rpx 10rpx;
		font-weight: 600;
		font-size: 16px;
	}
	.span2{
		font-size: 16px;
	}
	
	.wenzi {
		width: 100%;
		height: 1600rpx;
		background-image: url(https://z1.ax1x.com/2023/09/27/pPHW4vd.jpg);
		background-repeat: no-repeat;
		background-size: 100%;
	}
	.anniu{
		width: 100%;
		height: 50rpx;
		padding-top: 30rpx;
	}
	.anniu1{
		float: left;
		height: 100%;
		width: 75%;
	}
	.anniu2{
		float: right;
		height: 100%;
		width: 25%;
	}
	.wenzi1{
		width: 100%;
		height: 100rpx;
		padding-top: 660rpx;
	}
	.wenzi1_1{
		float: left;
		height: 100%;
		width: 66%;
	}
	.wenzi1_2{
		float: right;
		height: 100%;
		width: 34%;
	}
	.wenzi1_2_1{
		float: left;
		height: 100%;
		width: 75%;
		font-size: 18rpx;
		color: #f3c8b1;
	}
	.wenzi1_2_2{
		float: right;
		height: 100%;
		width: 25%;
	}
	.wenzi2{
		padding-left: 60rpx;
		padding-right: 60rpx;
		width: 100%;
		height: 200rpx;
		padding-top: 615rpx;
	}
	.wenzi2_1{
		text-align: center;
		font-weight: 600;
		font-size: 22rpx;
		color: #fcfeff;
	}
	
</style>
